package com.lizhenhua.orderclose.feiclient;

import com.lizhenhua.fmmall.beans.ProductSku;
import com.lizhenhua.orderclose.follback.QueryProductSkuFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
@FeignClient(value = "product-sku-query",fallback = QueryProductSkuFallBack.class)
public interface QueryProductSkuFeignClient {
    @GetMapping("product/query/sku")
    public ProductSku query(@RequestParam("skuId") String skuId);
}
